From 3df033fe2be704d331943b0c5560011b61326982 Mon Sep 17 00:00:00 2001 From: "sos22@douglas.cl.cam.ac.uk" Date: Tue, 18 Jan 2005 16:37:06 +0000 Subject: [PATCH] bitkeeper revision 1.1159.223.2 (41ed3b32oUZznRTHk1xuGyZVTcWuvg) Get the domain to access from the right element of the union when setting up VM assists. --- xen/common/dom0_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/dom0_ops.c b/xen/common/dom0_ops.c index 5622ae174e..4af61010df 100644 --- a/xen/common/dom0_ops.c +++ b/xen/common/dom0_ops.c @@ -640,7 +640,7 @@ long do_dom0_op(dom0_op_t *u_dom0_op) { struct domain *d; ret = -ESRCH; - d = find_domain_by_id( op->u.setdomainmaxmem.domain ); + d = find_domain_by_id( op->u.setdomainvmassist.domain ); if ( d != NULL ) { vm_assist(d, op->u.setdomainvmassist.cmd, -- 2.30.2